package org.jiucai.app.admin.auth.service;

import org.jiucai.app.admin.auth.util.AdminUserUtil;
import org.jiucai.cas.auth.service.AuthCheckService;
import org.jiucai.cas.domain.UserInfo;
import org.springframework.stereotype.Service;


@Service("adminAuthCheckService")
public class AdminAuthCheckServiceImpl implements AuthCheckService {

	
	@Override
	public Boolean isLogin() {

		UserInfo user = AdminUserUtil.getUser();
		
		if(null != user ){
			return true;
		}else{
			return false;
		}
	}

}
